package com.xiaotou.weibo.impl;

import com.xiaotou.db.pojo.WbUser;
import com.xiaotou.weibo.WeiboUser;

public class DbWeiboUser implements WeiboUser {

	private WbUser wbUser;

	public DbWeiboUser(WbUser wbUser) {
		this.wbUser = wbUser;
	}

	@Override
	public long getId() {
		return wbUser.getId();
	}

	@Override
	public String getName() {
		return wbUser.getName();
	}

	@Override
	public String getProfileImageUrl() {
		return wbUser.getProfileImageUrl();
	}

	@Override
	public int getFriendsCount() {
		return wbUser.getFriendsCount();
	}

	@Override
	public WbUser getWbUser() {
		return wbUser;
	}

}
